package org.yf.samples.dao;


import java.util.List;

import org.yf.samples.model.Subject;

public interface ISubjectDAO extends IBaseDAO<Subject> {
	
	public List<Subject> FindAllSubjects();
	
	public List<String> getAllUserSubject(Integer subId);
	
	public List<Subject> FindSubjectsByUserId(String userId);
	
	public Subject getSubjectById(Integer subId);
	
	public void createSubject(Subject subject) throws Exception;
	
	public void editSubject(Subject subject) throws Exception;
	
	public void deleteSubject(Integer subId) throws Exception;
	
	public List<Integer> getSubjectsByUserId(String userId);
	
	public List<Integer> getSubjectsByTest(String userId);
}
